﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLinePacking.Attributes;
using ZoneLinePacking.Models.Entity.StationResult;

namespace ZoneLinePacking.Models.StationResult.HOPStation {
    /// <summary>
    /// 衬套压装工位
    /// </summary>
    /// <remarks>
    /// <para>StationCode：OP620</para>
    /// <para>IP：192.168.10.10</para>
    /// </remarks>
    [Index(nameof(HOP010StationResult) + "index_1", nameof(AbsScanCode), IsUnique = false)]
    [Index(nameof(HOP010StationResult) + "_tid", nameof(CreateTime), IsUnique = false)]
    public class HOP010StationResult : StationResultBase {

        private float _pressPosition;
        /// <summary>  
        /// 压机位置  
        /// </summary>  
        [DgColumnAttr("压机位置")]
        public float PressPosition {
            get { return _pressPosition; }
            set { SetProperty(ref _pressPosition, value); }
        }

        private float _pressForce;
        /// <summary>  
        /// 压机压力  
        /// </summary>  
        [DgColumnAttr("压机压力")]
        public float PressForce {
            get { return _pressForce; }
            set { SetProperty(ref _pressForce, value); }
        }


        #region 批次码追溯
        private string _bushScanCode;
        /// <summary>  
        /// 衬套批次码  
        /// </summary>  
        [DgColumnAttr("衬套批次码")]
        public string BushScanCode {
            get { return _bushScanCode; }
            set { SetProperty(ref _bushScanCode, value); }
        }
        #endregion

    }


}
